package com.nmsl.statistic.vo;

import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class McslfMedicDetails extends BaseEntity {

    private String orderid;
    /** 药品零售单号 */
    @Excel(name = "药品零售单号")
    private String retailMedicineId;

    /** 药品id */
    @Excel(name = "药品id")
    private String medicineId;

    /** 药品名 */
    @Excel(name = "药品名")
    private String medicineName;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private BigDecimal medicinePrice;

    /** 药品数量 */
    @Excel(name = "药品数量")
    private String medicineNum;

    /** 药品总价 */
//    零售总价
    @Excel(name = "药品总价")
    private BigDecimal medicineAmunod;

    /** 零售单号 */
    @Excel(name = "零售单号")
    private String retailOrderId;

    /** 零售单号 */
    @Excel(name = "采购价格")
    private String purchasePrice;

//    创建时间
    private Date createTime;
//    订单类型  通过orderID 与toolmanger 相连
    private String orderType;

//生产厂商名  链接  (药品id)   medicine (manufacturer_id)  medicine_manufacturer
    private String manufacturerName;
//    规格  medicine
    private String medicineSpecification;
//    采购总价  计算   purchasePrice*medicineNum
    private BigDecimal purchasePriceAmunod;
//    利润  计算 medicineAmunod-purchasePriceAmunod
    private BigDecimal prefit;
}
